package org.blogsomy.controller;

import java.io.IOException;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.google.code.lightsomy.annotations.Action;
import com.google.code.lightsomy.annotations.Controller;

@Controller
public class IndexController extends BaseController {

	@Action
	public void index(HttpServletRequest req, HttpServletResponse res) throws IOException {
		res.sendRedirect(req.getParameter("root") + "/post/list");
	}
}
